package com.pmsystem.dao;

import com.pmsystem.pojo.Officeman;
import com.pmsystem.pojo.OfficemanExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OfficemanMapper {
    long countByExample(OfficemanExample example);

    int deleteByExample(OfficemanExample example);

    int deleteByPrimaryKey(Integer officemanId);

    int insert(Officeman record);

    int insertSelective(Officeman record);

    List<Officeman> selectByExample(OfficemanExample example);

    Officeman selectByPrimaryKey(Integer officemanId);

    int updateByExampleSelective(@Param("record") Officeman record, @Param("example") OfficemanExample example);

    int updateByExample(@Param("record") Officeman record, @Param("example") OfficemanExample example);

    int updateByPrimaryKeySelective(Officeman record);

    int updateByPrimaryKey(Officeman record);
}